-- GENERATED SPELL FOR [Lesser Scourgebat] --


function spell0_16355(pUnit, Event) --@Disease Touch,n/a--
pUnit:FullCastSpellOnTarget(3234,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16355', 596, 1)
end

function Sorts_16355(pUnit, Event)
local choix_sorts_16355 = math.random(0, 0)
if choix_sorts_16355 == 0 then
pUnit:RegisterEvent('spell0_16355', 1, 1)
end
end

function mob16355_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16355', math.random(1500, 3000), 1)
end

function mob16355_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16355_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16355_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16355, 1, 'mob16355_Action')
RegisterUnitEvent(16355, 2, 'mob16355_Leave')
RegisterUnitEvent(16355, 3, 'mob16355_Kill')
RegisterUnitEvent(16355, 4, 'mob16355_Die')
